package cn.cdeden.aiqa.mapper;

import cn.cdeden.aiqa.domain.WikiHelper;
import cn.cdeden.aiqa.domain.bo.ChatGptHelperdQueryParam;
import cn.cdeden.aiqa.domain.vo.WikiHelperVo;
import cn.cdeden.common.mybatis.core.mapper.BaseMapperPlus;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 智能体管理Mapper接口
 *
 * @author Nick
 * @date 2025-02-13
 */
public interface WikiHelperMapper extends BaseMapperPlus<WikiHelper, WikiHelperVo> {

    /**
     * 分页查询助手中心
     * @param page query
     * @return
     */
    IPage<WikiHelperVo> selectAll(IPage<WikiHelper> page,@Param("query") ChatGptHelperdQueryParam query);


    List<WikiHelperVo> selectAllList(@Param("query")ChatGptHelperdQueryParam query);
}
